package com.chen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.dto.ArticleSearchDTO;
import com.chen.pojo.Article;
import com.chen.vo.ConditionVO;

import java.util.List;

/**
 * @author chenchao

 */
public interface ArticleService extends IService<Article> {


    /**
     * 搜索文章
     *
     * @param condition 条件
     * @return 文章列表
     */
    List<ArticleSearchDTO> listArticlesBySearch(ConditionVO condition);


    List<Article > isEnable();

}
